package com.hskn.hss.module.maintaincfg.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.hskn.hss.core.annotation.Excel;
import lombok.Data;
import org.apache.poi.ss.usermodel.IndexedColors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 *
 */
@Data
public class TlMaintainCfgExcelOutVO implements Serializable {
    /**
     * 车牌号
     */
    @Excel(name = "车牌号", align = Excel.Align.CENTER, height = 18, width = 18)
    private String carCardNum;
    /**
     * 驾驶员ID
     */
    private String driverid;

    /**
     *驾驶员
     */
    @Excel(name = "驾驶员", align = Excel.Align.CENTER, height = 18, width = 18)
    private String driver;
    /**
     * 创建部门name
     */
    @Excel(name = "所属机构", align = Excel.Align.CENTER, height = 18, width = 24)
    private String deptName;
    /**
     * 码表里程(km)
     */
    @Excel(name = "码表里程(km)", align = Excel.Align.CENTER, height = 18, width = 18, color = IndexedColors.GREEN, cellType = Excel.ColumnType.NUMERIC)
    private Float clockmileage;
    /**
     * 总费用(元)
     */
    @Excel(name = "总费用", align = Excel.Align.CENTER, height = 18, width = 18, color = IndexedColors.GREEN, cellType = Excel.ColumnType.NUMERIC)
    private BigDecimal totalcost;
    /**
     * 保养部位名称
     */
    @Excel(name = "保养部位", align = Excel.Align.CENTER, height = 18, width = 18)
    private String repairreasonName;
    /**
     * 保养日期
     */
    @Excel(name = "保养日期", align = Excel.Align.CENTER, height = 18, width = 18)
//    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private String costtimeString;
    /**
     * 保养里程间隔km
     */
    @Excel(name = "保养里程间隔km", align = Excel.Align.CENTER, height = 18, width = 18, color = IndexedColors.GREEN, cellType = Excel.ColumnType.NUMERIC)
    private String maintainmileageintervalname;

    /**
     * 保养时间间隔
     */
    @Excel(name = "保养时间间隔", align = Excel.Align.CENTER, height = 18, width = 18)
    private String maintaintimeintervalname;
    /**
     * 地址
     */
    @Excel(name = "地址", align = Excel.Align.CENTER, height = 18, width = 18)
    private String place;
    /**
     * 缴费人
     */
    @Excel(name = "缴费人", align = Excel.Align.CENTER, height = 18, width = 18)
    private String payusername;
    /**
     * 保养单号
     */
    @Excel(name = "保养单号", align = Excel.Align.CENTER, height = 18, width = 18)
    private String orderno;
    /**
     * 车辆类型
     */
    private String cartype;

    @Excel(name = "车辆类型", align = Excel.Align.CENTER, height = 18, width = 18)
    private String cartypeName;

//    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date costtime;
    /**
     * 保养日期
     */

    /**
     * 部门id
     */
    private String deptid;
    /**
     * 车辆ID
     */
    private String carnumid;
    /**
     * 保养项目
     */
    private String repairreason;
    /**
     * 备注
     */
    @Excel(name = "备注", align = Excel.Align.CENTER, height = 18, width = 18)
    private String remark;


    public Float getClockmileage() {
        return clockmileage;
    }

    public void setClockmileage(Float clockmileage) {
        this.clockmileage = clockmileage;
    }

    public BigDecimal getTotalcost() {
        return totalcost;
    }

    public void setTotalcost(BigDecimal totalcost) {
        this.totalcost = totalcost;
    }

    public Date getCosttime() {
        return costtime;
    }

    public void setCosttime(Date costtime) {
        this.costtime = costtime;
    }

    public String getPayusername() {
        return payusername;
    }

    public void setPayusername(String payusername) {
        this.payusername = payusername;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getCarCardNum() {
        return carCardNum;
    }

    public void setCarCardNum(String carCardNum) {
        this.carCardNum = carCardNum;
    }

    public String getRepairreasonName() {
        return repairreasonName;
    }

    public void setRepairreasonName(String repairreasonName) {
        this.repairreasonName = repairreasonName;
    }

    public String getDeptid() {
        return deptid;
    }

    public void setDeptid(String deptid) {
        this.deptid = deptid;
    }

    public String getRepairreason() {
        return repairreason;
    }

    public void setRepairreason(String repairreason) {
        this.repairreason = repairreason;
    }

    public String getCosttimeString() {
        return costtimeString;
    }

    public void setCosttimeString(String costtimeString) {
        this.costtimeString = costtimeString;
    }

    public String getCarnumid() {
        return carnumid;
    }

    public void setCarnumid(String carnumid) {
        this.carnumid = carnumid;
    }

}
